<template>
    <div class="help-container">
        <img src="@/assets/image/bak.png" alt="logo" class="helpBack-img" @click="goBack" />
        <!-- <button class="back-btn" @click="goBack" aria-label="返回">
            <svg viewBox="0 0 24 24" width="22" height="22" fill="none" xmlns="http://www.w3.org/2000/svg">
                <path d="M15 19l-7-7 7-7" stroke="#333" stroke-width="2" stroke-linecap="round"
                    stroke-linejoin="round" />
            </svg>
        </button> -->
        <h2 class="help-title">客服帮助</h2>
        <div class="help-desc">
            考古标签是一款使用在考古工作中的专业工具，我们致力于提供给考古工作者更便捷、高效的小工具，感谢您关注考古标签，如在使用过程中需要帮助，请联系管理员
        </div>
        <div class="help-contact">
            <svg class="phone-icon" viewBox="0 0 24 24" width="28" height="28" fill="none"
                xmlns="http://www.w3.org/2000/svg">
                <path
                    d="M6.62 10.79a15.053 15.053 0 006.59 6.59l2.2-2.2a1 1 0 011.01-.24c1.12.37 2.33.57 3.58.57a1 1 0 011 1v3.5a1 1 0 01-1 1C10.07 22 2 13.93 2 4.5A1 1 0 013 3.5h3.5a1 1 0 011 1c0 1.25.2 2.46.57 3.58a1 1 0 01-.24 1.01l-2.2 2.2z"
                    stroke="#888" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
            </svg>
            <span class="phone-number">159-9959-0189</span>
        </div>
        <div class="wechat-tip">微信同号</div>
    </div>
</template>

<script setup>
import { useRouter } from 'vue-router'
const router = useRouter()
function goBack() {
    router.back()
}
</script>

<style scoped>
.help-container {
    max-width: 350px;
    margin: 0 auto;
    padding: 32px 16px 0 6px;
    text-align: center;
    position: relative;
}

.helpBack-img {
    width: 20px;
    height: 20px;
    position: absolute;
    top: 10px;
    left: 8px;
    margin-bottom: 20px;
    cursor: pointer;
}

.back-btn {
    position: absolute;
    top: 10px;
    left: 8px;
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    outline: none;
}

.help-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 18px;
    text-align: left;
    margin-left: 2px;
}

.help-desc {
    font-size: 15px;
    color: #333;
    text-align: left;
    margin-bottom: 32px;
    line-height: 1.7;
}

.help-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.phone-icon {
    margin-right: 8px;
}

.phone-number {
    color: #f55a23;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 2px;
}

.wechat-tip {
    color: #bbb;
    font-size: 14px;
}
</style>
